package CSS::Builder::Selector;
use Moose;

extends 'CSS::Builder::Base';
with 'CSS::Builder::Roles::List';

has 'original' => ( isa => 'Any' , is => 'rw' );

sub css {
      my $self = shift;
      
      my $selectors = $self->list;
      die "Selector list couln'd handle more than one value"
            if ($#{$selectors} > 0);
            
      return $self->docss($selectors->[0]);
}

1;